
<form id="orderadd-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="row content" style="padding: 0px;">
        <div class="panel-group" id="accordion">
            <div class="panel panel-success">

                <div id="collapseOne" class="panel-collapse collapse in">
                    <div class="panel-body">

                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-mobile" class="control-label col-xs-12 col-sm-2">{:__('选择商品')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <select class="form-control" name="goods_id">
                                    {volist name="goods" id="good"}
                                    <option value="{$good.id}">  {$good.name} </option>
                                    {/volist}
                                </select>
                            </div>
                        </div>

                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('数量')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-name" data-rule="required" type="text" class="form-control" name="number" value="1"  />
                            </div>
                        </div>




                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-telephone" class="control-label col-xs-12 col-sm-2">{:__('成交价格')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-telephone" type="tel"  class="form-control" name="money" value=""  />
                            </div>
                        </div>


                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('地址')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-address" data-rule="required" type="text" class="form-control" name="address" value="{$customer.detail_address}" />
                            </div>
                        </div>

                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('来源')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-goin"  type="text" class="form-control" name="goin"   />
                            </div>
                        </div>

                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-remark" class="control-label col-xs-12 col-sm-2">{:__('备注')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <textarea id="c-remark" class="form-control" name="desc"></textarea>
                            </div>
                        </div>





                        <input type="hidden" value="{$customer_id}" name="customer_id" >
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-4"></label>
        <div class="col-xs-12 col-sm-6">
            <button type="submit" class="btn btn-success btn-embossed ">{:__('OK')}</button>
        </div>
    </div>
</form>





